//package cn.sunjinxin.trade.application.work.node;
//
//import cn.sunjinxin.trade.application.work.PreOrderPreOrderValidateWork;
//import cn.sunjinxin.trade.application.work.pipeline.PreOrderValidateWorkHandler;
//import cn.sunjinxin.trade.application.work.pipeline.PreOrderValidateWorkHandlerContext;
//import cn.sunjinxin.trade.client.api.request.OrderCreateRequest;
//import cn.sunjinxin.trade.client.api.request.OrderValidateRequest;
//
///**
// * @author issavior
// */
//public class TpBusinessValidateNode implements PreOrderPreOrderValidateWork {
//
//    @Override
//    public void validate(OrderValidateRequest request, PreOrderValidateWorkHandlerContext validateWorkHandlerContext) {
//
//        validateWorkHandlerContext.validate(request);
//
//    }
//
//    @Override
//    public void validate(OrderCreateRequest request, PreOrderValidateWorkHandlerContext validateWorkHandlerContext) {
//        if (!"TP".equals(request.getOrderType())) {
//            return;
//        }
//
//        // 购买资格校验,调治理服务获取白名单
//        validateWorkHandlerContext.validate(request);
//
//    }
//}
